package com.survey.service;

import com.survey.pojo.data.AddressDO;
import com.survey.pojo.data.UserDO;
import com.survey.pojo.vo.UserVO;
import com.survey.utils.Result;

import java.util.ArrayList;
import java.util.List;

/** 
 * <br/>
 * Created by jj on 2018/08/05
 */
public interface UserService {

	Result addUser(UserVO userVO) throws Exception;

	Result updateUser(UserVO userVO) throws Exception;
	
	Result findDetailUser(UserVO userVO) throws Exception;
	
	UserDO listUser(UserVO userVO) throws Exception;

    Result listUserPage(UserVO userVO) throws Exception;
	
	Result countUser(UserVO userVO) throws Exception;
	
	Result deleteUser(UserVO userVO) throws Exception;

	void active(UserVO userVO);

	List<AddressDO> mapList();
}